package com.stx.dao;

import com.stx.pojo.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Suntingxing
 * @date 2021/11/3 11:31
 */
public interface CustomerDao {
    Customer findCustomerByNameAndJobs(@Param("username") String username, @Param("jobs") String jobs);

    Customer findCustomerByNameOrJobs(@Param("username") String username, @Param("jobs") String jobs);

    Integer updateCustomer(Customer customer);

    List<Customer> findCustomerByIds(List<Integer> ids);
}
